using System;
using Microsoft.SPOT;

namespace OST.Shared.Interfaces
{
    /// <summary>
    /// interface for an abstract attachable-persistent storage
    /// </summary>
    public interface IStorageProvider : INotifyPropertyChanged
    {
        /// <summary>
        /// initializes the storage observing
        /// </summary>
        void Initialize();

        /// <summary>
        /// root director for the storage, setted, if attachted/ connected
        /// </summary>
        string RootDirectory { get; }
        
        /// <summary>
        /// flag, check, if storage is attached/ connected
        /// </summary>
        bool IsStorageConntected { get; }

    }
}
